package model;

import java.io.Serializable;
import java.util.HashSet;
import java.util.Set;

public class Team implements Serializable {

	private Long id;
	
	private String name;
	
	private boolean turn;
	
	private Set<Member> members;

	public Team() {
		members = new HashSet<Member>();
		turn = false;
	}

	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	public boolean isTurn() {
		return turn;
	}
	public void setTurn(boolean turn) {
		this.turn = turn;
	}

	public Set<Member> getMembers() {
		return members;
	}
	public void setMembers(Set<Member> members) {
		this.members = members;
	}
	
	private static final long serialVersionUID = 3805303894835805176L;
	
}
